<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <title>支付宝进件资料</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <meta http-equiv="Pragma"   content= "no-cache" /> 
    <meta http-equiv= "Cache-Control"   content= "no-cache" /> 
    <meta http-equiv= "Expires"   content= "0" />

    <link rel="stylesheet" href="/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/layui/style/admin.css" media="all" />
    <link  href="/css/jquery-ui-1.9.2.custom.min.css" rel="stylesheet">

</head>

<body>

<form class="layui-form" lay-filter="enterprise_form" action="">
    <input type="hidden" id="id" name="id" th:value="${alipayMachInfo.id}"/>
    <input type="hidden" id="oemId" name="oemId" th:value="${alipayMachInfo.oemId}"/>
    <input type="hidden" id="userId" name="userId" th:value="${alipayMachInfo.userId}"/>


    <div class="layui-form-item " >
        <label class="layui-form-label"><span style="color: red">*</span>支付宝账号:</label>
        <div class="layui-input-block">
            <input type="text" name="alipayAccount"  lay-verify="required" readonly th:value="${alipayMachInfo.alipayAccount}"    placeholder="请输入支付宝账号" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item " >
        <label class="layui-form-label"><span style="color: red">*</span>支付宝官方结算费率:</label>
        <div class="layui-input-block">
            <input type="text" name="aliFinalRate"  required lay-verify="required|number|FinalRate" th:value="${alipayMachInfo.aliFinalRate}"    placeholder="请输入支付宝官方结算费率" autocomplete="off" class="layui-input">
        </div>
    </div>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>经营信息根据监管要求，请如实填写企业的经营信息。</legend>

        <div class="layui-form-item " >
            <label class="layui-form-label"><span style="color: red">*</span>经营类目:</label>
            <div class="layui-input-block">
                <input type="text" name="business_category"  readonly lay-verify="required" th:value="${alipayMachInfo.business_category}"    placeholder="请输入经营类目" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item" >
            <span style="color: red">特殊行业选填</span>
            <label class="layui-form-label">经营资质:</label>
            <div class="layui-input-block face_file">
                <div class="layui-upload-list">
                    <input type="hidden" keyName="business_qualification" name="business_qualification" th:value="${alipayMachInfo.business_qualification}" class="face_file_input">
                    <img class="layui-upload-img face_file_img" style="max-width: 300px; max-height: 200px;" >
                    <p class="fade_file_tip"></p>
                </div>
            </div>
        </div>


        <div class="layui-form-item" >
            <label class="layui-form-label"><span style="color: red">*</span>营业执照:</label>
            <div class="layui-input-block face_file">
                <div class="layui-upload-list">
                    <input type="hidden" keyName="business_license" lay-verify="required" name="business_license" th:value="${alipayMachInfo.business_license}" class="face_file_input">
                    <img class="layui-upload-img face_file_img" style="max-width: 300px; max-height: 200px;" >
                    <p class="fade_file_tip"></p>
                </div>
            </div>
        </div>

        <div class="layui-form-item" >
            <span style="color: red">注意:</span>
            <span >(企业支付宝，支付宝名字和营业执照名字不一样请上传授权函；个人支付宝，请一定上传授权函。)</span>
            <label class="layui-form-label">授权函:</label>
            <div class="layui-input-block face_file">
                <div class="layui-upload-list">
                    <input type="hidden" keyName="authorization" name="authorization" th:value="${alipayMachInfo.authorization}" class="face_file_input">
                    <img class="layui-upload-img face_file_img" style="max-width: 300px; max-height: 200px;" >
                    <p class="fade_file_tip"></p>
                </div>
            </div>
        </div>

        <div class="layui-form-item" >
            <label class="layui-form-label"><span style="color: red">*</span>店铺招牌照片:</label>
            <div class="layui-input-block face_file">
                <div class="layui-upload-list">
                    <input type="hidden" keyName="store_pic"  name="store_pic" th:value="${alipayMachInfo.store_pic}" lay-verify="required" class="face_file_input">
                    <img class="layui-upload-img face_file_img" style="max-width: 300px; max-height: 200px;" >
                    <p class="fade_file_tip"></p>
                </div>
            </div>
        </div>
    </fieldset>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">

        <legend>联系人信息联系人信息将用于接收签约后的重要通知，如确认协议、到期提醒等。</legend>
        <div class="layui-form-item " >
            <label class="layui-form-label">联系人姓名:</label>
            <div class="layui-input-block">
                <input type="text" name="name" readonly th:value="${alipayMachInfo.name}" lay-verify="required"   placeholder="请输入联系人姓名" autocomplete="off" class="layui-input">
            </div>
        </div>


        <div class="layui-form-item " >
            <label class="layui-form-label">联系人邮箱:</label>
            <div class="layui-input-block"  >
                <input type="text" name="email" readonly th:value="${alipayMachInfo.email}" lay-verify="required|email"   placeholder="请输入联系人邮箱" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item " >
            <label class="layui-form-label">联系人电话:</label>
            <div class="layui-input-block">
                <input type="text" name="mobile" readonly th:value="${alipayMachInfo.mobile}" lay-verify="required|phone"    placeholder="请输入联系人电话" autocomplete="off" class="layui-input">
            </div>
        </div>

    </fieldset>

    <div class="layui-form-item " >
        <label class="layui-form-label">处理备注信息:</label>
        <div class="layui-input-block">
            <input type="text" name="message"  id="autocomplete"  placeholder="请输入处理备注信息" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item " >
        <label class="layui-form-label">上次处理信息:</label>
        <div class="layui-input-block">
            <input type="text" name="lastMessage" style="color: red ;border: none;" th:value="${alipayMachInfo.message}" disabled  autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">处理结果</label>
        <div class="layui-input-block">
            <input type="radio" th:checked="${alipayMachInfo.status==2}" name="status" value="2" title="审核中" >
            <input type="radio" th:checked="${alipayMachInfo.status==3}" name="status" value="3" title="进件成功" >
            <input type="radio" th:checked="${alipayMachInfo.status==4}" name="status" value="4" title="进件失败" >
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="alipay_mch_form_ok">保存处理</button>
        </div>
    </div>
</form>

<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script type="text/javascript" src="/js/applyment/alipay_mch_info_deal.js"></script>

</body>
</html>